package com.ruoyi.project.system.order.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单管理对象 order
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
public class Order extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "")
    private Long userId;

    /**  */
    @Excel(name = "")
    private Long recyclerId;

    /**  */
    @Excel(name = "")
    private Long categoryId;

    /**  */
    @Excel(name = "")
    private String address;

    /**  */
    @Excel(name = "")
    private Long weight;

    /**  */
    @Excel(name = "")
    private BigDecimal price;

    /**  */
    @Excel(name = "")
    private String iphone;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reTime;

    /** 0是待接单，1是进行中，2是已完成，3是拒接 */
    @Excel(name = "0是待接单，1是进行中，2是已完成，3是拒接")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setRecyclerId(Long recyclerId) 
    {
        this.recyclerId = recyclerId;
    }

    public Long getRecyclerId() 
    {
        return recyclerId;
    }

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setWeight(Long weight) 
    {
        this.weight = weight;
    }

    public Long getWeight() 
    {
        return weight;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setIphone(String iphone) 
    {
        this.iphone = iphone;
    }

    public String getIphone() 
    {
        return iphone;
    }

    public void setReTime(Date reTime) 
    {
        this.reTime = reTime;
    }

    public Date getReTime() 
    {
        return reTime;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("recyclerId", getRecyclerId())
            .append("categoryId", getCategoryId())
            .append("address", getAddress())
            .append("weight", getWeight())
            .append("price", getPrice())
            .append("iphone", getIphone())
            .append("createTime", getCreateTime())
            .append("reTime", getReTime())
            .append("status", getStatus())
            .toString();
    }
}
